let f = () => {
  let arr = [1, 2, 3, 4, 5]
  let sum = arr.reduce((p, n) => p + n)
  console.log(sum)
}
f()
// npm install jquery@1.8.0 --save
